From 3979c1484a598a2e52322b6223a34ea32906feff Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Thu, 24 Feb 2005 11:09:14 +0000 Subject: [PATCH] bitkeeper revision 1.1159.258.11 (421db5das21KZ5OM9VgBIYQNaZthng) Fix console_use_vt feature that makes VT switchable at run time in Linux. Signed-off-by: Keir Fraser --- linux-2.6.10-xen-sparse/drivers/char/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6.10-xen-sparse/drivers/char/tty_io.c b/linux-2.6.10-xen-sparse/drivers/char/tty_io.c index 636083c08a..2df07c8619 100644 --- a/linux-2.6.10-xen-sparse/drivers/char/tty_io.c +++ b/linux-2.6.10-xen-sparse/drivers/char/tty_io.c @@ -1772,7 +1772,7 @@ retry_open: goto got_driver; } #ifdef CONFIG_VT - if (device == MKDEV(TTY_MAJOR,0)) { + if (console_use_vt && (device == MKDEV(TTY_MAJOR,0))) { extern int fg_console; extern struct tty_driver *console_driver; driver = console_driver; -- 2.30.2